From: Amir Sarabadani Date: Wed, 12 Sep 2018 11:31:59 +0000 (+0200) Subject: Fix --user option in DeleteLocalPasswords X-Git-Tag: 1.34.0-rc.0~4113 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=3fc713d455df7e008416b622d3cd487418078de6;p=lhc%2Fweb%2Fwiklou.git Fix --user option in DeleteLocalPasswords Bug: T201009 Change-Id: I69c14741f578b59cd73e5c8c5576f8c250825a30 --- diff --git a/maintenance/includes/DeleteLocalPasswords.php b/maintenance/includes/DeleteLocalPasswords.php index e3f8926969..bfbbcdcd7e 100644 --- a/maintenance/includes/DeleteLocalPasswords.php +++ b/maintenance/includes/DeleteLocalPasswords.php @@ -157,7 +157,7 @@ ERROR protected function getUserBatches() { if ( !is_null( $this->user ) ) { $this->output( "\t ... querying '$this->user'\n" ); - yield [ $this->user ]; + yield [ [ $this->user ] ]; return; }